package com.example.department.Entity;
//用户志愿者积分明细
public class Integral { //两外键
    private int iid;
    private int iuserId; // 用户
    private int iactivity; //活动
    private User user;
    private Activity activity;

    public Integral() {
    }

    public Integral(int iid, int iuserId, int iactivity, User user, Activity activity) {
        this.iid = iid;
        this.iuserId = iuserId;
        this.iactivity = iactivity;
        this.user = user;
        this.activity = activity;
    }

    public int getIid() {
        return iid;
    }

    public void setIid(int iid) {
        this.iid = iid;
    }

    public int getIuserId() {
        return iuserId;
    }

    public void setIuserId(int iuserId) {
        this.iuserId = iuserId;
    }

    public int getIactivity() {
        return iactivity;
    }

    public void setIactivity(int iactivity) {
        this.iactivity = iactivity;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Activity getActivity() {
        return activity;
    }

    public void setActivity(Activity activity) {
        this.activity = activity;
    }
}
